package com.wang.interview.designmode.strategy;

/**
 * @author: wang
 * @date: 2021/8/1 20:06
 * @description:
 */
public class Japanese extends AbstractMan {
    public Japanese(Function1 function1, Function2 function2) {
        super(function1, function2);
    }

    @Override
    public void sleep() {
        System.out.println("变异了，白天睡，晚上偷牛");
    }
}
